package com.lyf.mapper;

import com.lyf.entity.Stock;

public interface StockMapper {

    Stock checkStock(Integer id);
    //根据商品id扣除库存
    int updateStock(Stock stock);
}
